import React, {Component} from 'react';

import {
    View,
    Text,
    StyleSheet,
    Image,
    TouchableOpacity
} from 'react-native';

export default class ViewUtil extends Component {
    static goBackButton(callback) {
        return (
            <TouchableOpacity
                style={{padding: 8}}
                onPress={callback}
            >
                <Image style={{width: 26, height: 26, tintColor: 'white'}}
                       source={require('../../res/images/ic_arrow_back_white_36pt.png')}/>
            </TouchableOpacity>
        )
    }
}

const styles = StyleSheet.create({})